Skip to main content

mergMKAddCircleOverlay

Type

function

Summary

Returns an id for the overlay that was created

Syntax

mergMKAddCircleOverlay(<pCoordinate>, <pRadius>, [<pLineWidth>], [<pLineColor>], [<pFillColor>])

Description

Returns an id for the overlay that was created

Parameters

NameTypeDescription

pCoordinate

the center of the circle in decimal coordinates (latitude,longitude)

pRadius

the radius of the circle in metres

pLineWidth

(optional with 3 default) the width of the line in points defaults to 3

pLineColor

(optional with "0,0,0,0" default) the color of the line defaults to opaque red. The string is an RGB value with each color component an integer between 0 and 255. An optional fourth item between 0 and 255 may be included to represent the alpha transparency.

pFillColor

(optional with "0,0,0,255" default) the color of the line defaults to opaque red. The string is an RGB value with each color component an integer between 0 and 255. An optional fourth item between 0 and 255 may be included to represent the alpha transparency.

Examples

put mergMKAddCircleOverlay(tPicnicArea,20,3,"0,255,0,100","0,255,0,150") into tOverlayID

Compatibility and Support

Introduced

LiveCode 8.0

OS

ios

Platforms

mobile

Thank you for your feedback!

Was this page helpful?